// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
Event.observe(window, 'load', function() {
  Sortable.create("conference-list", {containment:['conference_ids'], dropOnEmpty:true})
  Sortable.create("conference_ids", {containment:['conference-list','conference_ids'], dropOnEmpty:true, onUpdate:function(){new Ajax.Request('/interests/order', {asynchronous:true, evalScripts:true, parameters:Sortable.serialize("conference_ids")})}})
});